package com.taobao.api.response;

import com.taobao.api.internal.mapping.ApiField;
import com.taobao.api.TaobaoObject;

import com.taobao.api.TaobaoResponse;

/**
 * TOP API: tmall.nr.item.price.sync response.
 * 
 * @author top auto create
 * @since 1.0, null
 */
public class TmallNrItemPriceSyncResponse extends TaobaoResponse {

	private static final long serialVersionUID = 2411958574224385246L;

	/** 
	 * result
	 */
	@ApiField("result")
	private NrResult result;


	public void setResult(NrResult result) {
		this.result = result;
	}
	public NrResult getResult( ) {
		return this.result;
	}
	
	/**
 * resultData
 *
 * @author top auto create
 * @since 1.0, null
 */
public static class NrSyncItemStorePriceRespDto extends TaobaoObject {

	private static final long serialVersionUID = 6162347625998469693L;

	/**
		 * 天猫商品id
		 */
		@ApiField("item_id")
		private Long itemId;
	

	public Long getItemId() {
			return this.itemId;
		}
		public void setItemId(Long itemId) {
			this.itemId = itemId;
		}

}

	/**
 * result
 *
 * @author top auto create
 * @since 1.0, null
 */
public static class NrResult extends TaobaoObject {

	private static final long serialVersionUID = 5327127844624129323L;

	/**
		 * 错误码
		 */
		@ApiField("error_code")
		private String errorCode;
		/**
		 * 错误信息
		 */
		@ApiField("error_message")
		private String errorMessage;
		/**
		 * resultData
		 */
		@ApiField("result_data")
		private NrSyncItemStorePriceRespDto resultData;
		/**
		 * 是否成功
		 */
		@ApiField("success")
		private Boolean success;
	

	public String getErrorCode() {
			return this.errorCode;
		}
		public void setErrorCode(String errorCode) {
			this.errorCode = errorCode;
		}
		public String getErrorMessage() {
			return this.errorMessage;
		}
		public void setErrorMessage(String errorMessage) {
			this.errorMessage = errorMessage;
		}
		public NrSyncItemStorePriceRespDto getResultData() {
			return this.resultData;
		}
		public void setResultData(NrSyncItemStorePriceRespDto resultData) {
			this.resultData = resultData;
		}
		public Boolean getSuccess() {
			return this.success;
		}
		public void setSuccess(Boolean success) {
			this.success = success;
		}

}



}
